home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows5 / xwinc100.zip / CONTRIB-.00 / CONTRIB- / contrib / examples / Xaw / README < prev    next >
Text File  |  1991-07-30  |  2KB  |  59 lines

  1.  
  2.                         November 30, 1989
  3.  
  4.  
  5.  
  6.  
  7. This directory contains a number of simple programs that show how to use
  8. the Athena widgets and the X Toolkit.  These examples have been
  9. organized so that a new programmer can begin with simple examples and
  10. work up to more complex ones.
  11.  
  12. 1) xhw         - "Xt Hello World" is the simplest example.  It shows
  13.           how to initialize the toolkit and use the Label widget
  14.           to display a string.  
  15.  
  16. 2) xlabel     - Another example using the Label widget.  Introduces
  17.           the programmer to X Toolkit command line parsing.
  18.  
  19. 3) xcommand     - This example uses the Command widget to show how
  20.           callback functions are defined and how to use them to
  21.           get user data.
  22.  
  23. 4) xcommand2     - This example performs the same task as xcommand, but
  24.           uses application defined action routines to retrieve
  25.           user input instead of callback functions.
  26.  
  27. 5) xlist     - An example of how to use the List widget.
  28.  
  29. 6) xscroll     - An example of the values returned by the Scrollbar
  30.           widget, and how its callback routines are used. 
  31.  
  32. 7) xbuttonbox     - The Box widget is used to introduce the programmer to
  33.           a widget hierarchy. 
  34.  
  35. 8) xboxes     - Nested widget hierarchies, and application specific
  36.           resources are introduced. 
  37.  
  38. 9) xtext     - An example using the Text widget.  Changing the text
  39.           string, and getting the value out of the Text widget
  40.           are explained.  This is the first place that widget
  41.           data is changed dynamically. 
  42.  
  43. 10) popup     - Creating a popup widget with a dialog box, and
  44.           positioning the popup are explained. 
  45.  
  46. 11) xmenu1
  47.     xmenu2      - Two examples of how to use the SimpleMenu widget.
  48.  
  49. 12) xwidgets     - A complicated example program that uses most widgets
  50.           in the Athena widget set at least once.  Timeouts are
  51.           also used in this example.
  52.  
  53.  
  54.                         Chris D. Peterson     
  55.                         kit@expo.lcs.mit.edu
  56.  
  57.                         MIT X Consortium 
  58.  
  59.